package com.share.barter.data.services.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.share.barter.data.AcountMapper;
import com.share.barter.data.ISBookMapper;
import com.share.barter.data.pojo.Acount;
import com.share.barter.data.services.AcountService;

/**
 * 
 * @author Tumi
 *
 */
@Service("acountServices")
@SuppressWarnings("unchecked")
public class AcountServiceImpl implements AcountService{
	@Autowired	AcountMapper acountMapper;

	/* (non-Javadoc)
	 * @see com.share.oldphoto.data.services.AcountService#acountLogin(java.lang.String, java.lang.String)
	 */
	public Acount acountLogin( String username, String password ) throws Exception{

		 return acountMapper.login( username, password );
	}

}
